/*
 * Copyright (C), 2002-2017, 南京苏宁软件技术有限公司
 * FileName: RedPointTipsDmo.java
 * Author:   10070706
 * Date:     2017年1月4日 下午2:35:19
 * Description: //模块目的、功能描述      
 * History: //修改记录
 * <author>      <time>      <version>    <desc>
 * 修改人姓名             修改时间            版本号                  描述
 */
package com.suning.sawp.po.mainpushnew;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;

/**
 * 功能简述: <br>
 *
 * @author 10070706 陈辉
 */
@Entity(name = "red_point_tips")
public class RedPointTips implements Serializable {

    /**
     */
    private static final long serialVersionUID = -6033212103337164786L;

    /**
     * 主键id
     */
    private Long id;

    /**
     * 款式id
     */
    private Long modelId;

    /**
     * 变更类型，0是新增款数，1是修改门店数量
     */
    private Integer changeType;

    /**
     * 门店编码，新增款式时记为-1，否则记具体的门店编码
     */
    private String storeCode;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 月份
     */
    private String month;

    @Override
    public String toString() {
        StringBuilder builder = new StringBuilder();
        builder.append("RedPointTips [id=").append(id).append(", modelId=").append(modelId).append(", changeType=")
                .append(changeType).append(", storeCode=").append(storeCode).append(", createTime=").append(createTime)
                .append(", month=").append(month).append("]");
        return builder.toString();
    }

    @Id
    @Column(name = "id")
    @GeneratedValue(strategy = GenerationType.AUTO)
    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    @Column(name = "model_id")
    public Long getModelId() {
        return modelId;
    }

    public void setModelId(Long modelId) {
        this.modelId = modelId;
    }

    @Column(name = "change_type")
    public Integer getChangeType() {
        return changeType;
    }

    public void setChangeType(Integer changeType) {
        this.changeType = changeType;
    }

    @Column(name = "store_code")
    public String getStoreCode() {
        return storeCode;
    }

    public void setStoreCode(String storeCode) {
        this.storeCode = storeCode;
    }

    @Column(name = "create_time")
    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    @Column(name = "month")
    public String getMonth() {
        return month;
    }

    public void setMonth(String month) {
        this.month = month;
    }

}
